import request from '@/util/request';

export const getHouse = function(param){
	var url = '/user/getHouse';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const editHouse = function(param){
	var url = '/user/editHouse';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getFloor = function(param){
	var url = '/user/getFloor';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const defaultHouse = function(param){
	var url = '/user/defaultHouse';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getPark = function(param){
	var url = '/user/getPark';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getDefaultHouse = function(param){
	var url = '/user/getDefaultHouse';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getCar = function(param){
	var url = '/user/getCar';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const editCar = function(param){
	var url = '/user/editCar';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const delCar = function(param){
	var url = '/user/delCar';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const report = function(param){
	var url = '/report/report';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getInfo = function(param){
	var url = '/user/getInfo';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const changePass = function(param){
	var url = '/user/changePass';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const editInfo = function(param){
	var url = '/user/editInfo';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getAddress = function(param){
	var url = '/user/getAddress';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getFamily = function(param){
	var url = '/user/getFamily';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const family = function(param){
	var url = '/user/family';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const delFamily = function(param){
	var url = '/user/delFamily';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const submitDeliveryRead = function(param){
	var url = '/user/submitDeliveryRead';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}